﻿<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="UserForm.ascx.cs" Inherits="Application.Controls.UserForm" %>
<asp:UpdatePanel ID="UpdatePanel1" runat="server">
    <ContentTemplate>
        <asp:LinkButton ID="addUser" class="ShowEditForm" runat="server" 
            onclick="addUser_Click">
         Новый пользователь
        </asp:LinkButton>

        <asp:Panel id="UserFormDiv" class="EditForm" Visible="false" runat="server">
        <div class="EditFormTitle"> Новый пользователь </div>
        <asp:ImageButton class="EditFormClose" src="../images/delete.png" 
            id="UserFormClose" runat="server" onclick="UserFormClose_Click" />
       
        <table>
            <tr>
                <td>
                    Логин:
                </td>
                <td>
                    <asp:TextBox ID="Name" runat="server" MaxLength="255"></asp:TextBox>
                </td>
            </tr>
           
           <tr>
             <td>
                   Пароль :
                </td>
                <td>
                    <asp:TextBox ID="Password" runat="server" MaxLength="255"></asp:TextBox>
                </td>
           </tr>

           <tr>
             <td>
                   ФИО :
                </td>
                <td>
                    <asp:TextBox ID="FIO" runat="server" MaxLength="255"></asp:TextBox>
                </td>
           </tr>

            <tr>
                <td>
                    Статус</td>
                <td>
                    <asp:DropDownList ID="DropDownList1" runat="server">
                        <asp:ListItem>Администратор</asp:ListItem>
                        <asp:ListItem>Разработчик</asp:ListItem>
                        <asp:ListItem>Наблюдатель</asp:ListItem>
                    </asp:DropDownList>
                </td>
            </tr>

            <tr>
                <td colspan="2">
               
                    <asp:Button ID="btAddUser" Text="Создать" runat="server" 
                        Class="SubmitEditForm" onclick="btAddUser_Click" />
                </td>
            </tr>
         
        </table>
   </asp:Panel>


    </ContentTemplate>
</asp:UpdatePanel>
